#ifndef __NTC_H
#define __NTC_H

#include "um.h"

typedef struct
{
	int min_temp;
	int max_temp;
	u16 num;
	u8 step;
	const u16* table;
}TempretureStruct;

extern TempretureStruct NTC1;

extern TempretureStruct NTC2;

extern TempretureStruct NTC3;



extern s16 getTempreture(u16 data);

extern s16 NTC_GetTempreture(TempretureStruct *ntc,u16 data);


#endif
